Share via


WorkerProcess Class [IIS 7 and higher]

Represents a Windows Process Activation Service (WAS) worker process (w3wp.exe).

Syntax

class WorkerProcess : Object

Methods

The following table lists the methods exposed by the WorkerProcess class.

Name

Description

GetExecutingRequests

Gets the requests that are currently assigned to a worker process.

GetState

Returns the run-time state of a worker process.

Properties

The following table lists the properties exposed by the WorkerProcess class.

Name

Description

AppPoolName

A read-only string that contains the name of the application pool to which the worker process belongs. The default is "DefaultAppPool".

GUID

A read-only string that contains the GUID for the worker process.

ProcessID

A read-only uint32 that contains the worker process ID. The only key property.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

Object

   WorkerProcess

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

Object Class [IIS 7 and higher]